package com.neusoft.tijiancms.mapper;

import com.neusoft.tijiancms.po.Hospital;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface HospitalMapper {

	/**
	 * 根据hpId查询Hospital对象
	 * @param hpId
	 * @return
	 */
	@Select("select * from hospital where hpId=#{hpId}")
	public Hospital getHospitalById(Integer hpId);
}
